package com.xwj.auction.dao;

import com.xwj.auction.domain.AuctionItemRecord;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author xwj
 * @date 2020/5/8
 */
@Repository
@Mapper
public interface AuctionItemRecordMapper {
    @Insert("insert into auction_item_record(user_id,item_id,price,create_time) values(#{userId},#{itemId},#{price},#{createTime})")
    void insert(AuctionItemRecord auctionItemRecord);
}
